package org.osll.tictactoe.transport.tcp;

import java.io.Serializable;

public class ErrorResponse extends DefaultResponse implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 8991672127910305048L;

	private IllegalStateException exception;
	
	public ErrorResponse() {
		super(Type.ERROR);
	}

	public void setException(IllegalStateException exception) {
		this.exception = exception;
	}

	public IllegalStateException getException() {
		return exception;
	}
}
